package com.woniu.liuzhougov.relatedinformation.dao;

import com.woniu.liuzhougov.relatedinformation.pojo.City;
import com.woniu.liuzhougov.relatedinformation.pojo.Commerce;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CityMapper {
    int deleteByPrimaryKey(Integer cityId);

    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(Integer cityId);

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);

    List<City> selectList();

    List<City> selectByName(@Param("name")String name);
}